package sanshui.system.trade.factory.trade.riskCtr.impl;

import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Component;
import sanshui.system.trade.factory.trade.riskCtr.AbstractRiskStrategy;
import sanshui.system.trade.factory.trade.riskCtr.RiskCtrCode;

@Slf4j
@Component
public class DefaultRiskCtrl extends AbstractRiskStrategy {
    @Override
    public RiskCtrCode getRiskName() {
        return RiskCtrCode.DEFAULT;
    }
    @Override
    public String getDesc() {
        return RiskCtrCode.DEFAULT.getMessage();
    }
}
